-- || Created by Revelse

Gamemode = inherit(Object)

function Gamemode:constructor(name)
	self.m_Rooms = {}
	self.m_Name = name
end

function Gamemode:getRooms() return self.m_Rooms end
function Gamemode:getName() return self.m_Name end

function Gamemode:addRoom(room)
	table.insert(self.m_Rooms, room)
	return room
end